package class4;

import java.io.FileWriter;
import java.io.IOException;

public class demo2 {
    public static void main(String[] args) throws IOException {
        FileWriter writer=new FileWriter("writer.txt");
String str1="很大花火大会";
writer.write(str1);
        String t="\r\n";
        writer.write(t);
        String str2="很大花火大会";
        writer.write(str2);

writer.close();


    }
}
